aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/groups/[groupId]/expenses/[expenseId]/edit/page.tsx
diff options
context:
space:
mode:
authorSebastien Castiel <sebastien@castiel.me>2023-12-07 16:44:01 -0500
committerSebastien Castiel <sebastien@castiel.me>2023-12-07 16:44:01 -0500
commit0b27f90fb76a2492c17a958b6dd807e6fbbf8030 (patch)
treebfc9c0e533eb28b43bcded9c53020dc15bca1955 /src/app/groups/[groupId]/expenses/[expenseId]/edit/page.tsx
parent6611e3a187e5398f686449938b7cf1ddbfcb5392 (diff)
Titles and navigation
Diffstat (limited to 'src/app/groups/[groupId]/expenses/[expenseId]/edit/page.tsx')
-rw-r--r--src/app/groups/[groupId]/expenses/[expenseId]/edit/page.tsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/app/groups/[groupId]/expenses/[expenseId]/edit/page.tsx b/src/app/groups/[groupId]/expenses/[expenseId]/edit/page.tsx
index 0623f50..188d08f 100644
--- a/src/app/groups/[groupId]/expenses/[expenseId]/edit/page.tsx
+++ b/src/app/groups/[groupId]/expenses/[expenseId]/edit/page.tsx
@@ -1,8 +1,13 @@
import { ExpenseForm } from '@/components/expense-form'
import { deleteExpense, getExpense, getGroup, updateExpense } from '@/lib/api'
import { expenseFormSchema } from '@/lib/schemas'
+import { Metadata } from 'next'
import { notFound, redirect } from 'next/navigation'
+export const metadata: Metadata = {
+ title: 'Edit expense',
+}
+
export default async function EditExpensePage({
params: { groupId, expenseId },
}: {